using System;
using System.Collections;
using System.Collections.Generic;
using WebAuth.Bussiness;

namespace WebAuth.Models
{
    public class AuthGroup: AuthModel
    {

        /*
        public override void BindMember()
        {
            CacheManager.GetCacheManager().GetModelSet(out Dictionary<string,T> authChildrenCacheSet);
            if (authChildrenCacheSet != null)
            {
                authChildren.Clear();
                foreach (var authChildId in AuthItemIds)
                {
                    if (authChildrenCacheSet.ContainsKey(authChildId))
                    {
                        authChildren.Add(authChildrenCacheSet[authChildId] as T);
                    }
                }
            }
            else
            {
                throw new Exception("权限子项尚未加载成功！");
            }
        }
        */

        // public override IList GetAuthChildIdSet() => AuthItemIds;
    }
}